package qt.service.impl;

import org.springframework.stereotype.Service;
import qt.dao.UserDao;
import qt.domain.User;
import qt.service.UserSer;

import javax.annotation.Resource;

/**
 * Created by charmyyy on 2017/11/30.
 */
@Service
public class UserSerImpl implements UserSer {
    @Resource(name = "userDao")
    private UserDao userDao;

    public User getUser(String ucode) {
        return userDao.getUser(ucode);
    }
}
